package com.yuanqiao.interfaceforlc.uploadmatterandfile.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="application")
public class config {


    //文件上传路径
    @Value("${upload.url}")
    private String upload_url;
    //所有文件转成pdf路径
    @Value("${trans.url}")
    private String trans_url;
    //合成pdf路径
    @Value("${marge.url}")
    private String marge_url;
    //模板合成PDF路径
    @Value("${model.to.pdf}")
    private String model_to_pdf;
    //分辨率
    //最小高度
    @Value("${upload.resolving.power.min.height}")
    private String upload_resolving_power_min_height;
    //最大高度
    @Value("${upload.resolving.power.max.height}")
    private String upload_resolving_power_max_height;

    public String getUpload_resolving_power_min_height() {
        return upload_resolving_power_min_height;
    }

    public void setUpload_resolving_power_min_height(String upload_resolving_power_min_height) {
        this.upload_resolving_power_min_height = upload_resolving_power_min_height;
    }

    public String getUpload_resolving_power_max_height() {
        return upload_resolving_power_max_height;
    }

    public void setUpload_resolving_power_max_height(String upload_resolving_power_max_height) {
        this.upload_resolving_power_max_height = upload_resolving_power_max_height;
    }

    public String getUpload_resolving_power_min_width() {
        return upload_resolving_power_min_width;
    }

    public void setUpload_resolving_power_min_width(String upload_resolving_power_min_width) {
        this.upload_resolving_power_min_width = upload_resolving_power_min_width;
    }

    public String getUpload_resolving_power_max_width() {
        return upload_resolving_power_max_width;
    }

    public void setUpload_resolving_power_max_width(String upload_resolving_power_max_width) {
        this.upload_resolving_power_max_width = upload_resolving_power_max_width;
    }

    //最小宽度
    @Value("${upload.resolving.power.min.width}")
    private String upload_resolving_power_min_width;
    //最大宽度
    @Value("${upload.resolving.power.max.width}")
    private String upload_resolving_power_max_width;


    public String getModel_to_pdf() {
        return model_to_pdf;
    }

    public void setModel_to_pdf(String model_to_pdf) {
        this.model_to_pdf = model_to_pdf;
    }
    public String getUpload_url() {
        return upload_url;
    }

    public void setUpload_url(String upload_url) {
        this.upload_url = upload_url;
    }

    public String getTrans_url() {
        return trans_url;
    }

    public void setTrans_url(String trans_url) {
        this.trans_url = trans_url;
    }

    public String getMarge_url() {
        return marge_url;
    }

    public void setMarge_url(String marge_url) {
        this.marge_url = marge_url;
    }



}
